<?php
namespace app\validate;
use think\Validate;

class SellerPass extends Validate
{
    protected $rule = [
        'id'          =>'require|number|integer',
        'tradepass' => 'require',
    ];

    protected $message = [
        'id.require' => '订单ID必须',
        'id.number' => '订单ID为数字',
        'id.integer' => '订单ID为整数',
        'tradepass.require' => '二级密码不能为空',
    ];
}


